package com.wsd.smartcarwasher.dao;

import com.wsd.smartcarwasher.domain.PayWay;
import org.springframework.dao.DataAccessException;

public interface PayWayDao {

    int addPayWay(PayWay payWay) throws DataAccessException;

    int deletePayWap(int id) throws DataAccessException;

    int updatePayWay(PayWay payWay) throws DataAccessException;

    PayWay selectPayWayById(int id) throws DataAccessException;
}
